require 'test/unit'
require 'models/region'

class RegionTest < Test::Unit::TestCase
    def test_region
        r = Region.new
        assert(r.characters.empty?)
        assert(r.items.empty?)
        assert(r.rooms.empty?)
        assert(r.portals.empty?)

        r.name = "A Region"
        assert_equal("A_Region",r.disk_name)
    end
end
